package cn.dfun.demo.scdemo.ali.sentinel.handler;

import cn.dfun.demo.scdemo.common.entity.CommonResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CustomBlockHandler {
    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(4444, "客户自定义,global handleException");
    }
}
